package com.atguigu.gmall.payment.pay.impl;

import com.atguigu.gmall.payment.model.PaymentInfo;
import com.atguigu.gmall.payment.pay.PayAPI;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author: 小兰
 * @Date: 2023/5/10 20:38
 */
@Service("alipay")
@Slf4j
public class AlipayWay implements PayAPI {
    /**
     * 支付宝创建支付页面方法
     * @param paymentInfo
     * @return
     */
    @Override
    public String createPayPage(PaymentInfo paymentInfo) {
        log.info("支付宝创建支付页面方法");
        return "alipay";
    }
}
